%% -*- mode: erlang;erlang-indent-level: 2;indent-tabs-mode: nil -*-

{require_min_otp_vsn, "21.3"}.

{erl_opts,
  [debug_info]}.

{pre_hooks,
  [{"(linux|darwin|solaris)", compile, "make -C c_src"},
   {"(freebsd|openbsd)", compile, "gmake -C c_src"}]}.

{post_hooks,
  [{"(linux|darwin|solaris)", clean, "make -C c_src clean"},
   {"(freebsd|openbsd)", clean, "gmake -C c_src clean"}]}.
{deps, [
  {poolboy, "1.5.2"}
]}.

{profiles, [
    {test, [
        {xref_checks, [
            undefined_function_calls,
            locals_not_used,
            deprecated_function_calls
        ]},

        {xref_ignores, [
        ]},

        {dialyzer, [
          {warnings, [
              no_return
          ]}
        ]}
    ]}
]}.
